﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WF.DAL;

namespace WF.Model
{
    public class RoleAuthOperateEntity : EntityBase<RoleAuthOperate>
    {
        #region 构造函数

        public RoleAuthOperateEntity() : base() { }
        public RoleAuthOperateEntity(RoleAuthOperate RoleAuthOperate) : base(RoleAuthOperate) { }
        #endregion

        #region 实现基类abstract属性

        public override string ID
        {
            get { return DbEntity.ID; }
            set { DbEntity.ID = value; this.SendPropertyChanged("ID"); }
        }

        public override string DisplayName
        {
            get { return DbEntity.ID; }
        }

        #endregion

        #region Public 属性


        public string RoleID
        {
            get
            {
                return DbEntity.RoleID;
            }
            set
            {
                DbEntity.RoleID = value; this.SendPropertyChanged("RoleID");
            }
        }

        public string OperateID
        {
            get
            {
                return DbEntity.OperateID;
            }
            set
            {
                DbEntity.OperateID = value; this.SendPropertyChanged("OperateID");
            }
        }

        public System.Nullable<short> DeptRange
        {
            get
            {
                return DbEntity.DeptRange;
            }
            set
            {
                DbEntity.DeptRange = value; this.SendPropertyChanged("DeptRange");
            }
        }

        #endregion
    }
}
